package com.woniu.springboot.service;

import com.woniu.springboot.entity.Employee;

import java.util.Collection;
import java.util.List;

public interface IEmployeeService {

    Collection<Employee> findEmployeeAll();

    Employee findEmployeeByKey(Integer id);

    int removeEmployeeByKey(Integer id);

    int addEmployee(Employee employee);

    List<Employee> findEmployeeByName(String name);

    int modifyEmployeeByKey(Employee employee);

}
